package com.typhoon.service

import com.typhoon.dao.UserDao
import com.typhoon.entity.User
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.stereotype.Service

@Service
class UserService {

    @Autowired
    private lateinit var userDao: UserDao


    fun queryById(id:Long) : User? {
        return this.userDao.getByPK(id);
    }

}